package com.open.capacity.reimburse.dao;

import com.open.capacity.reimburse.entity.BillDirectPayitemForm;
import com.open.capacity.reimburse.entity.BillDirectSettlementItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 直接报销单-结算方式-明细
 *
 * @author
 * @email
 * @date 2023-12-08 17:37:57
 */
@Mapper
public interface BillDirectSettlementItemDao {

    int save(BillDirectSettlementItem billDirectSettlementItem);

    int update(BillDirectSettlementItem billDirectSettlementItem);

    int delete(String id);

    int deleteByBillId(String billId);

    BillDirectSettlementItem findById(String id);
    List<BillDirectSettlementItem> findBySettlementId(String settlementId);

    List<BillDirectSettlementItem> findAll(Map<String, Object> params);

}
